import request from '@/config/axios'
import { AgentListParams } from './types'

// 经纪人列表
export const agentListApi = (params: AgentListParams) => {
  return request.get({ url: '/agent/page', params })
}

// 关联商家列表
export const relationBusinessListApi = (params: AgentListParams) => {
  return request.get({ url: '/agent/relatedBusiness', params })
}

// 汇付余额查询
export const acctBalanceQueryApi = (params: any) => {
  return request.get({ url: '/merchant/acctBalanceQuery', params })
}
